# import requests
#
# response = requests.get('https://tieba.baidu.com/t/f/?class=college')
#
# print(response.status_code)
# print(response.json())


from curl_cffi import requests
import re
response = requests.get('https://tieba.baidu.com/t/f/?class=college')
print(response.status_code)
print(response.text)
req = re.findall(r'<a class="each_topic_entrance_item"(.*?)" data-fid="(.*?)">(.*?)</a>',response.text,re.S)
for item in req:
    print(item)